/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lifeed;

/**
 *
 * @author grillo
 */
public class TestRSS {

    public static void main(String[] args) {
        try {
            FeedRSS rss = new FeedRSS("http://rss.feedsportal.com/c/32275/f/438637/index.rss");
            //FeedRSS rss = new FeedRSS("http://lastampa.it/redazione/rss_home.xml");

            System.out.println(rss.toString());

            for(ItemRSS item : rss.getItems())
                System.out.println(item.toString());

        } catch (Exception e) {
            System.out.println(e);
        }
    }
}
